what is formatted input and output functions